home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Control Common / CCPContainer.h < prev    next >
Text File  |  1996-09-21  |  670b  |  27 lines

  1. class CCPContainer:
  2.     public IConnectionPointContainer
  3. {
  4.  
  5. public:
  6.     //  *** CCPContainer methods ***
  7.     CCPContainer(short NumConnections);
  8.     virtual ~CCPContainer(void);
  9.     
  10.     STDMETHOD(AddConnectionPoint)(IID RefID);
  11.    
  12.     //  *** IUnknown methods ***
  13.     STDMETHOD(QueryInterface)(REFIID RefID, void** Obj);
  14.     STDMETHOD_(ULONG, AddRef)(void);
  15.     STDMETHOD_(ULONG, Release)(void);
  16.  
  17.     // IConnectionPointContainer methods
  18.     STDMETHOD(EnumConnectionPoints)(THIS_ IEnumConnectionPoints** EnumCP);
  19.     STDMETHOD(FindConnectionPoint)(THIS_ REFIID RefID, IConnectionPoint** ConnectionPoint);
  20.         
  21. private:
  22.     ULONG         m_RefCount;
  23.     LArray*        m_ConnectionPoints;    
  24. };
  25.  
  26.  
  27.